using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Dimok.Data.DataSources;

namespace Data.DataSources {
	public class PaymentsMBDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "v_PaymentWithEscrowBalance"; } }
		public override string UpdateViewName { get { return "t_Payment"; } }
		public override string DeleteViewName { get { return "t_Payment"; } }
		public override string InsertViewName { get { return "t_PaymentInput"; } }
		public PaymentsMBDataSource() {
			OrderBys = "ID";
		}
		public override DataView SelectEx(int LoanID) {
			return Select("LoanID=@LoanID",LoanID);
		}
	}
}